package com.project.class4_8.proxy2.dao.impl;

import com.project.class4_8.proxy2.dao.ISaveDao;

public class SaveDaoImpl extends BaseDao implements ISaveDao {
    @Override
    public void updateNum(String productId, int num) {

        this.updateData("update t_save set s_num=s_num+? where s_productId+?",-num,productId);
    }
}
